package 设计模式.第1部分.第8章_工厂模式.v2;

public class App {
	public static void main(String[] args) {
		LeiFeng student1 = SimpleFactory.CreateLeiFeng("学雷锋的大学生");
		student1.BuyRice();
		LeiFeng student2 = SimpleFactory.CreateLeiFeng("学雷锋的大学生");
		student2.Sweep();
		LeiFeng student3 = SimpleFactory.CreateLeiFeng("学雷锋的大学生");
		student3.Wash();
	}
}
